home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
post.lha
/
post.qed
< prev
Wrap
Text File
|
1995-06-09
|
2KB
|
80 lines
/* AutoPosting program by Steve Robbins */
options results
if( ~show( 'l', "mebbsarexx.library" ) )then do
if( ~addlib( "mebbsarexx.library", 0, -30, 0 ) )then do
say "Could not open library"
exit 10
end
end
'SAVEAS t:QED_Temp'
'QString Who is the message from?\\Steve Robbins'
'STATUS A'
FromWhom = result
'QString Who is the message to?\\All'
'STATUS A'
ToWhom = result
'QString What message area do you want to post in?\\1'
'STATUS A'
Area = result
'QString What is the subject?\\Rules'
'STATUS A'
Subject = result
'QQuery Is the message private?'
if rc == 0 then Private = 1
else Private = 0
'QQuery Do you want to attach a file?'
ans = rc
if rc == 0 then do
attach = 1
'QFile Enter the file name:\\Tmp:'
'STATUS A'
path = result
'STATUS B'
file = result
if right(path, 1) == ':' then
subject = path||file
else
subject = path||'/'||file
end
BodyPath = "t:Qed_Temp"
Pound = "#"
If Area == 46 Then do
'QString What is the Zone number?\\6'
'STATUS A'
Zone = result
'QString What is the Net number?\\733'
'STATUS A'
Net = result
'QString What is the Node number?\\1'
'STATUS A'
Node = result
'QString What is the Point number?\\0'
'STATUS A'
Point = result
InfoString = FromWhom||Pound||ToWhom||Pound||Subject||Pound||BodyPath||Pound||Area||Pound||Attach||Pound||Private||Pound||Zone||Pound||Net||Pound||Node||Pound||Point
End
Else
InfoString = FromWhom||Pound||ToWhom||Pound||Subject||Pound||BodyPath||Pound||Area||Pound||Attach||Pound||Private
'QQUERY Go ahead and post the message?'
ans = rc
If rc == 0 then do
call RobotMessage RoboMail, InfoString
end
address command 'delete t:QED_Temp'